package com.partners.controller.test;

/**
 * @author liangyongle
 * @date 2019-02-12
 */
public class KeyPersonThread extends Thread{

    public void run() {
        System.out.println(Thread.currentThread().getName()+"开始战斗了呢");
        for (int i =0; i<3;i++){
            System.out.println(Thread.currentThread().getName()+"发起了攻击，歼灭敌人");
        }
        System.out.println(Thread.currentThread().getName()+"结束战斗了呢");

    }
}
